import styled from "styled-components";

export const FriendWrap = styled.div`
  width: 980px;
  min-height: 700px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  border-width: 0 1px;
  .friendBox {
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    display: flex;
    background-color: #fff;
    .friend-left {
      width: 680px;
      padding: 20px 30px 20px 30px;
      .title {
        width: 100%;
        height: 40px;
        border-bottom: 2px solid #c20c0c;
        h4 {
          float: left;
          font-size: 24px;
          font-weight: normal;
        }
        .publish {
          float: right;
          .btn-fbdt {
            cursor: pointer;
            margin: 6px 0 0 10px;
            overflow: hidden;
            width: 71px;
            height: 24px;
            background-position: 0 -452px;
            float: left;
          }
          .btn-fbsp {
            cursor: pointer;
            margin: 6px 0 0 10px;
            overflow: hidden;
            width: 84px;
            height: 24px;
            background-position: -100px -452px;
            float: left;
          }
        }
      }
    }
    .friend-right {
      flex: 1;
      border-left: 1px solid #d3d3d3;
      .myInfo {
        height: 193px;
        width: 100%;
        background-color: #f6f6f6;
        position: relative;
        border-bottom: 1px solid #cbcbcb;
        .info-img {
          img {
            position: absolute;
            top: 38px;
            left: 30px;
            width: 68px;
            height: 68px;
            padding: 2px;
            background: #fff;
            border: 1px solid #dadada;
          }
          h5 {
            top: 40px;
            font-size: 14px;
            width: 180px;
            position: absolute;
            left: 112px;
          }
          p {
            top: 67px;
            height: 38px;
            overflow: hidden;
            line-height: 19px;
            color: #888;
            position: absolute;
            left: 112px;
            width: 160px;
            word-wrap: break-word;
            word-break: break-word;
            white-space: normal;
          }
        }
      }
    }
  }
  .noLogin-friend {
    width: 902px;
    height: 443px;
    margin: 0 auto 0;
    padding-top: 70px;
    background: url(${require("@/assets/img/notlogin.jpg").default}) no-repeat 0
      9999px;
    background-position: 0 70px;
    .wcls {
      padding: 178px 0 0 535px;
      line-height: 23px;
      color: #666;
      font-size: 14px;
    }
    .btn {
      display: block;
      width: 157px;
      height: 48px;
      margin: 260px 0 0 535px;
      text-indent: -9999px;
      :hover {
        background: url(${require("@/assets/img/notlogin.jpg").default})
          no-repeat center 9999px;
        background-position: 0 -430px;
      }
    }
  }
`;
